import React from 'react';
import {
    AppRegistry,
    StyleSheet,
    Text,
    View,
    processColor
} from 'react-native';
import {StackNavigator} from 'react-navigation';
import Bar from './app/BarChartScreen';
import Pie from './app/PieChartScreen';

import Main from './app/Main';
import Test from './app/Test';
import ImagePickerScreen from './app/ImagePickerScreen';

const IzarApp = StackNavigator({
    Main:{screen:Main},
    Test:{screen:Test},
    ImagePickerScreen:{screen:ImagePickerScreen},
});
// class IzarApp extends React.Component{
//     render(){
//         return(
//             <Pie/>
//         )
//     }
// }
AppRegistry.registerComponent('IzarAppTest', () => IzarApp);
